package com.homedo.odin.solution.model.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 专家著作
 * </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
@TableName("expert_writings")
@Getter
@Setter
public class ExpertWritings extends Model<ExpertWritings> {

    private static final long serialVersionUID = 1L;

    /**
     * 著作id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 专家id
     */
	@TableField("expert_id")
	private Integer expertId;
    /**
     * 论文题目/专著名称/标准规范
     */
	@TableField("writings_title")
	private String writingsTitle;
    /**
     * 发表时间/出版时间
     */
	@TableField("publish_time")
	private Date publishTime;
    /**
     * 发表刊物/出版社名称/标准类型
     */
	@TableField("publish_position")
	private String publishPosition;
    /**
     * 担任角色
     */
	@TableField("publish_role")
	private String publishRole;
    /**
     * 是否删除 0:否 1:是
     */
	@TableField("is_del")
	private Integer isDel;
	@TableField("create_user_name")
	private String createUserName;
    /**
     * 创建日期
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 最后修改日期
     */
	@TableField("last_modified_time")
	private Date lastModifiedTime;



	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
